<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ taglib uri="/struts-tags" prefix="s"%>
<jsp:include flush="true" page="../header.jsp"></jsp:include>


<div id="main">

	<!-- Thread Start -->
	<div class="t" style="margin-bottom: 0px; border-bottom: 0">
		<table cellspacing="0" cellpadding="0" width="100%">
			<tr>
				<th class="h">
					<strong class="fl w">添加版面</strong> &nbsp;
					<span style="color: red; font-weight: bold;">${
						exception.message }</span>
				</th>
			</tr>
		</table>
	</div>

	<s:form action="add_board" method="post" namespace="/jingyanku">
		<div class="t t2" align="center">
			<s:select name="category.id" list="cateList" listKey="id" listValue="name"
				label="论坛" cssStyle="width: 200px; "></s:select>
			<s:textfield name="board.name" cssStyle="width: 200px; " label="名称"></s:textfield>
			<s:hidden name="board.id" ></s:hidden>
			<s:textarea cssStyle="width: 200px; height: 50px; "
				name="board.description" label="描述"></s:textarea>
			<s:submit cssClass="btn" value="添加"></s:submit>
		</div>
	</s:form>
</div>

<jsp:include flush="true" page="../footer.jsp" />
